package com.example.demo.common.config;

public class JdbcTemplateUtil1 {

    String database;
    String host;
    String username;
    String password;
    String port;

    public String getDatabase() {
        return database;
    }


    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }


    public void setDatabase(String database) {
        this.database = database;
    }

    public JdbcTemplateUtil1(Builder builder) {
        this.database = builder.database;
        this.host = builder.host;
        this.username = builder.username;
        this.password = builder.password;
        this.port = builder.port;
    }


    public static class Builder {
        private String database;
        private String host;
        private String username;
        private String password;
        private String port;


        public JdbcTemplateUtil1 build() {
            return new JdbcTemplateUtil1(this);
        }
    }
}
